#!/usr/bin/env python
# -*- coding: utf-8 -*-

from urllib import urlencode
query = {'query': 'http://item.taobao.com/item.htm?id=535689509798'}
print urlencode(query)